package com.demoworld.services.flow;

import com.demoworld.services.functions.TestFunction;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * Created by li_wb on 2018/1/8.
 */
@Component
@Scope("prototype")
public class FlowOne extends BaseFlow {
    @Autowired
    private TestFunction function;

    public void initialize() {
        this.data = function.getById();
    }
}
